<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class name="Insesoft.BusinessEntities.Usuario,Insesoft.BusinessEntities" table="Usuario">

		<id name="Id" column="Id" type="Int32" unsaved-value="0">
			<generator class="native"/>
		</id>
		<many-to-one name="Empresa" column="EmpId" class="Insesoft.BusinessEntities.Empresa,Insesoft.BusinessEntities" />
		<property column="Nombre" type="String" name="Nombre" not-null="true" length="50" />
		<property column="Usuario" type="String" name="UsuarioName" not-null="true" length="30" />
		<property column="Clave" type="String" name="Clave" not-null="true" length="30" />
		<property column="Cotizar" type="Boolean" name="Cotizar" not-null="true" />
		<property column="Borrar" type="Boolean" name="Borrar" not-null="true" />
		<property column="Crear" type="Boolean" name="Crear" not-null="true" />
		
	</class>
</hibernate-mapping>
